<?php

class sumber{
	
	// Class Constructor
	public function __construct(){
		$this->db = new DBClass();
	}
	
	public function getSumber(){
		
		$query = "Select * from beranda";
		$rows = $this->db->getRows($query);
		
		return $rows;
	}


}